import Mock from 'mockjs'


// 分类数据
let tableDataList = Mock.mock('/data/test', {
    "list|6": [{
        'id': '@guid',
        'labelName|': "@cname",
        'content': "@csentence",
        'createDate': "@now",
        'tag': '',
        'state': 0, // 0(在线),1(离线),2(部分在线)

        'featList|6': [{
            'id': '@guid',
            'featName': '@cname',
            'description': '@csentence',
            'createDate': '@now',
            'runState|1': true,
            'type|0-2': 0,
        }]
    }]
});

let plugins = Mock.mock('/data/plugin', {
    "list|6": [{
        "id": "@guid",
        "pluginName": "@cname",
        'description': '@csentence',
    }]
})

export {tableDataList, plugins}